package cn.iocoder.yudao.module.promotion.groupon.pojo.po;

import cn.iocoder.yudao.framework.business.order.pojo.po.OrderEntity;
import cn.iocoder.yudao.framework.mybatis.core.type.StringListTypeHandler;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 数据库表实体
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/14
 */
@Data
@TableName(value = "promotion_groupon_order", autoResultMap = true)
@Schema(description = "团购订单")
public class GrouponOrder extends OrderEntity {

    @Schema(description = "类型，从主营类目编码得来，如：food-餐饮美食")
    private String type;

    @Schema(description = "店铺编号")
    private Long shopId;

    @Schema(description = "套餐编号")
    private Long packageId;

    @Schema(description = "赠品活动编号")
    @TableField(typeHandler = StringListTypeHandler.class)
    private List<Long> giftActivityIds;

}
